package com.css.dynamic.dynamicRoute;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.cloud.gateway.route.RouteDefinition;

import java.io.Serializable;

/**
 * @author 郭辉
 * @date 2022/10/31
 * <p>
 * 扩展此类支持序列化a
 * See RouteDefinition.class
 */
@Accessors(chain = true)
@Data
@EqualsAndHashCode(callSuper = false)
public class RouteDefinitionVo extends RouteDefinition implements Serializable {
    /**
     * 路由名称
     */
    private String routeName;
}
